package com.codingfuture.erp_system.entity;

import com.codingfuture.erp_system.dto.OrdersDetailDto;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class Orders {
    private long uuid;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createtime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date checktime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date starttime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endtime;
    private String orderstype;
    private String checkername;
    private String startername;
    private String endername;
    private Integer supplieruuid;
    private double totalmoney;
    private String state;
    private long waybillsn;

    private String creatername;
    private String suppliername;
    private List<OrdersDetailDto> orderDetailList;
}